package com.sdgakj.repository;

import com.sdgakj.entity.FeedMsg;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

public interface FeedMsgDao extends PagingAndSortingRepository<FeedMsg, Long>, JpaSpecificationExecutor<FeedMsg>{
	/**
	 * 时间轴消息
	 * 
	 * @param customerId
	 * @param pageSize
	 * @return
	 */
    public List<FeedMsg> findTimeline(Long customerId, Integer pageSize);
}
